package com.css.fxfzysx.modules.lifeline.service;

import com.css.fxfzysx.modules.lifeline.entity.newEntity.SmxVersionEntity;
import com.css.fxfzysx.modules.lifeline.param.AnalysisParam;
import com.css.fxfzysx.modules.lifeline.param.CircleParam;
import com.css.fxfzysx.modules.lifeline.param.PageParam;
import com.css.fxfzysx.modules.lifeline.param.RegionParam;
import com.css.fxfzysx.modules.lifeline.vo.fxqh.EvaluationResults;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface LifelineEngineeringService {
    List<SmxVersionEntity> getRepeatData(RegionParam param);

    Map<String, Object> getVersionCode(RegionParam param);

    Map<String, Object> uploadShp(RegionParam param);

    Map<String, Object> getLifelineDataSource(PageParam param);

    Map<String, Object> getByTypeAndVersionId(int page, int size,String versionId,Integer type);

    List<EvaluationResults> getAnalysisByVersionId(AnalysisParam param);

    void deleteByTypeAndId(Integer type, String ids);

    void updateById(HashMap<Integer, Object> map);

    void deleteByTypeAndVersionId(String versionId);

    List<String> getVectorDataIdsByVersionId(String versionId,Integer type);

    HashMap<String, Object> getByRange(CircleParam param) throws Exception;
}
